package com.ecy.quadratic.fragment.helper;

import com.ecy.quadratic.R;
import com.ecy.quadratic.ui.fragment.CollectMainFragment;
import com.ecy.quadratic.ui.fragment.ComicMainFragment;
import com.ecy.quadratic.ui.fragment.CommunityMainFragment;
import com.ecy.quadratic.ui.fragment.MineFragment;
import com.ecy.quadratic.ui.fragment.NovelMainFragment;

public class BottomTabHelper {
    /***
     * 获得底部所有项 
     */
    public static String[] getTabsTxt() {
        String[] tabs = {"漫画", "小说", "书架", "社区", "我的"};
        return tabs;
    }

    /*** 
     * 获得所有碎片 
     */
    public static Class[] getFramgent() {
        Class[] cls = {ComicMainFragment.class, NovelMainFragment.class, CollectMainFragment.class, CommunityMainFragment.class, MineFragment.class};
        return cls;
    }

    /*** 
     * 获得所有点击前的图片 
     */
    public static int[] getTabsImg() {
        int[] img = {R.drawable.bottom_tab_comic_background, R.drawable.bottom_tab_mine_background, R.drawable.bottom_tab_novel_background, R.drawable.bottom_tab_bookshelf_background, R.drawable.bottom_tab_community_background};
        return img;
    }
}
